package com.ticket.sass.admin.dto.output.config;

import com.ticket.sass.admin.validator.InEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ywb
 * @date 2024-03-24 17:33
 */
@Data
@ApiModel
public class NoticesConfigOutput {
    @ApiModelProperty
    private Long id;
    
    @ApiModelProperty(value = "通知内容")
    private String content;
    
    @InEnum(intValues = {1, 2})
    @ApiModelProperty(value = "显示位置：1 首页 2 待定")
    private List<Short> position;
}
